Release 10.1A: OpenEdge Development:
Java Open Clients
Constructor
The
ProDataObjectMetaDataclass has one constructor:
tableNameSpecifies a name for the specified
ProDataObjecttype (and collection). This name is typically identical to any 4GL temp-table to which this collection is mapped.numFieldsSpecifies the number of fields (column properties) in the specified
ProDataObjecttype.bimageFlagSpecifies
trueif the corresponding Progress 4GL temp-table is defined with theBEFORE-TABLEoption, indicating that the temp-table (and hence theProDataObjectcollection) can be modified. Otherwise, this value must befalseand you cannot modify the data contained in the collection.numIndexesSpecifies the number of indexes on the table.
multiIxColsSpecifies
nullif there are no indexes or a formatted string that contains all the index info for this temp-table, as follows:
primeUniqueFlagSpecifies a primary index with a value of 1 if the index is unique and a value of 0 if the index is not unique.
primeFld1[,primeFldn]...Specifies the names of one or more fields involved in the primary index.
primeIdxNameSpecifies the primary index name.
uniqueIdxfld1[,uniqueIdxfldn]...Specifies names of one or more fields involved in a unique secondary index.
uniqueIdxNameSpecifies a unique secondary index name.
Thus, a table can have no indexes, a single primary index followed by zero or more secondary unique indexes, or it can have a single secondary unique index followed by zero or more additional secondary unique indexes. Some examples follow:
- Table with a single primary index:
This is a primary unique index named
CustIndexwith one column namedcustNum.- Table with a single secondary index:
This is a secondary unique index named
OrderIndexwith one column namedorderDate.- Table with two indexes:
These two indexes include:
- Table with three indexes:
These three indexes include:
XMLNamespaceSpecifies the namespace for XML serialization or
null.XMLPrefixSpecifies the prefix for XML serialization or
null.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |